import Device from "@/views/device/index"

export const DeviceRouter = [
    {
        path: "device",
        title:"设备管理",
        name: "设备管理",
        mate: {
            keepAlive: false
        },
        show:true,
        component: Device,
        children: [
            {
                //设备基本信息
                path: "essential",
                title:"设备人员设置",
                name: "设备人员设置",
                mate: {
                    keepAlive: false
                },
                show:true,
                component: () =>
                    import( /** 设备管理模块 */ '@/views/device/essential'),
                children: []
            },
            {
                //工件信息设置
                path: "WorkpieceInformation",
                title:"工件信息设置",
                name: "工件信息设置",
                mate: {
                    keepAlive: false
                },
                show:true,
                component: () =>
                    import( /** 设备管理模块 */ '@/views/device/WorkpieceInformation'),
                children: []
            },
            {
                //设备人员设置P
                path: "EquipmentPersonnel",
                title:"设备基本信息",
                name: "设备基本信息",
                mate: {
                    keepAlive: false
                },
                show:true,
                component: () =>
                    import( /** 设备管理模块 */ '@/views/device/EquipmentPersonnel'),
                children: []
            },
            {
                //任务派发
                path: "task_distribution",
                title:"任务派发",
                name: "任务派发",
                mate: {
                    keepAlive: false
                },
                show:true,
                component: () =>
                    import( /** 任务派发 */ '@/views/device/task_distribution'),
                children: []
            },
            {
                //任务派发详情
                path: "task_distribution_details",
                title:"任务派发详情",
                name: "任务派发详情",
                mate: {
                    keepAlive: false
                },
                show:false,
                component: () =>
                    import( /** 工件列表 */ '@/views/device/task_distribution_details'),
                children: []
            },
            {
                //工单记录
                path: "work_order_record",
                title:"工单记录",
                name: "工单记录",
                mate: {
                    keepAlive: false
                },
                show:true,
                component: () =>
                    import( /** 工单记录 */ '@/views/device/work_order_record'),
                children: []
            },


        ]
    }
]
